package com.aier.classes.entity;

import java.sql.Timestamp;
import java.util.List;

public class ClassStudent implements java.io.Serializable{

    /**
     * 班级学生表
     */
    private static final long serialVersionUID = 1L;

    private Long csid;        //班级学生id
    private Long uid;        //用户id
    private String sname;    //学生姓名
    private Long cid;        //班级id
    private Timestamp ctime;//加入时间
    
    //扩展
    private String ctime_str;
    private String name_classes; // 班级名
    private String cardnum; // 卡号
    
    private List<ClassParent> cpList; // 家长列表
    
    private Integer leav; // 请假次数
    private Integer absent; // 旷课次数
    private String sex;
    
    public ClassStudent() {
        super();
    }

    public ClassStudent(Long csid, Long uid, String sname, Long cid,
            Timestamp ctime) {
        super();
        this.csid = csid;
        this.uid = uid;
        this.sname = sname;
        this.cid = cid;
        this.ctime = ctime;
    }

    public Long getCsid() {
        return csid;
    }

    public void setCsid(Long csid) {
        this.csid = csid;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public Timestamp getCtime() {
        return ctime;
    }

    public void setCtime(Timestamp ctime) {
        this.ctime = ctime;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public String getCtime_str() {
        return ctime_str;
    }

    public void setCtime_str(String ctime_str) {
        this.ctime_str = ctime_str;
    }

    public String getName_classes() {
        return name_classes;
    }

    public void setName_classes(String name_classes) {
        this.name_classes = name_classes;
    }

    public String getCardnum() {
        return cardnum;
    }

    public void setCardnum(String cardnum) {
        this.cardnum = cardnum;
    }

    public List<ClassParent> getCpList() {
        return cpList;
    }

    public void setCpList(List<ClassParent> cpList) {
        this.cpList = cpList;
    }

    public Integer getLeav() {
        return leav;
    }

    public void setLeav(Integer leav) {
        this.leav = leav;
    }

    public Integer getAbsent() {
        return absent;
    }

    public void setAbsent(Integer absent) {
        this.absent = absent;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }





    
}
